package com.ruoyi.project.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 股票日均线对象 yf_stock_day_line
 * 
 * @author 云峰
 * @date 2020-06-15
 */
public class YfStockDayLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 股票编号 */
    @Excel(name = "股票编号")
    private Long stockId;

    /** 当前价格 */
    @Excel(name = "当前价格")
    private Float curPrice;

    /** 红线价格 */
    @Excel(name = "红线价格")
    private Float red;

    /** 绿线价格 */
    @Excel(name = "绿线价格")
    private Float green;

    /** 生命线价格 */
    @Excel(name = "生命线价格")
    private Float life;

    /** 上轨价格 */
    @Excel(name = "上轨价格")
    private Float upper;

    /** 下轨价格 */
    @Excel(name = "下轨价格")
    private Float lower;

    /** 昨日收盘价 */
    @Excel(name = "昨日收盘价")
    private Float lastClose;

    /** 当日最高价 */
    @Excel(name = "当日最高价")
    private Float highPrice;

    /** 当日最低价 */
    @Excel(name = "当日最低价")
    private Float lowerPrice;

    /** 百分比 */
    @Excel(name = "百分比")
    private Float percent;


    private  String remark;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }
    public void setCurPrice(Float curPrice) 
    {
        this.curPrice = curPrice;
    }

    public Float getCurPrice() 
    {
        return curPrice;
    }
    public void setRed(Float red) 
    {
        this.red = red;
    }

    public Float getRed() 
    {
        return red;
    }
    public void setGreen(Float green) 
    {
        this.green = green;
    }

    public Float getGreen() 
    {
        return green;
    }
    public void setLife(Float life) 
    {
        this.life = life;
    }

    public Float getLife() 
    {
        return life;
    }
    public void setUpper(Float upper) 
    {
        this.upper = upper;
    }

    public Float getUpper() 
    {
        return upper;
    }
    public void setLower(Float lower) 
    {
        this.lower = lower;
    }

    public Float getLower() 
    {
        return lower;
    }
    public void setLastClose(Float lastClose) 
    {
        this.lastClose = lastClose;
    }

    public Float getLastClose() 
    {
        return lastClose;
    }
    public void setHighPrice(Float highPrice) 
    {
        this.highPrice = highPrice;
    }

    public Float getHighPrice() 
    {
        return highPrice;
    }
    public void setLowerPrice(Float lowerPrice) 
    {
        this.lowerPrice = lowerPrice;
    }

    public Float getLowerPrice() 
    {
        return lowerPrice;
    }
    public void setPercent(Float percent) 
    {
        this.percent = percent;
    }

    public Float getPercent() 
    {
        return percent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("stockId", getStockId())
            .append("curPrice", getCurPrice())
            .append("red", getRed())
            .append("green", getGreen())
            .append("life", getLife())
            .append("upper", getUpper())
            .append("lower", getLower())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("lastClose", getLastClose())
            .append("highPrice", getHighPrice())
            .append("lowerPrice", getLowerPrice())
            .append("percent", getPercent())
            .toString();
    }
}
